/* 声明字体图标 */
@font-face {font-family: 'iconfont';
  src: url('../fonts/');
  src: url('../fonts/?#iefix') format('embedded-opentype'),
  url('../fonts/iconfont.ttf') format('truetype'),
}
.clearfix:after {       /*在类名为“clearfix”的元素内最后面加入内容；z-index:;*/
  content: ".";     /*内容为“.”就是一个英文的句号而已。也可以不写。*/
  display: block;   /*加入的这个元素转换为块级元素。*/
  clear: both;     /*除左右两边浮动。*/
  visibility: hidden;      /*可见度设为隐藏。注意它和display:none;是有区别的。仍然占据空间，只是看不到而已；*/
  height: 0;     /*高度为0；*/
  font-size:0;    /*字体大小为0；*/
}
/* 版心 */
.w {
  width: 1200px;
  margin: 0 auto;
}

/* 左浮动 */
.fl {
  float: left;
}

/* 右浮动 */
.fr {
  float: right;
}

/* 颜色c81623 */
.style_red {
  color: #c81623;
}

/* 快捷导航栏 */
.shortcut {
  height: 31px;
  line-height: 31px;
  background-color: #f1f1f1;
}

/* 快捷导航栏的浮动 */
.shortcut ul li {
  float: left;
}

/* 使用nth-child做中间的竖线 */
.shortcut .fr ul li:nth-child(even) {
  width: 2px;
  height: 12px;
  margin: 10px;
  background-color: #666;
}

/* 下拉的三角形 */
.arrow-icon::after {
  content: '\e7b2';
  font-family: 'iconfont';
  margin-left: 2px;
}

/* 头部制作 采用来定位的方式来做头部 */
.header {
  position: relative;
  height: 110px;
  /* background-color: pink; */
}

/* logo */
.logo {
  position: absolute;
  top: 25px;
  width: 171px;
  height: 61px;
  /* background-color: skyblue; */
}

.logo a {
  display: block; /*块级显示*/
  width: 171px;
  height: 61px;
  font-size: 0px; /* 或者 text-indent: -10000px; overflow:hidden;隐藏字体*/
  background: url(../images/logo.png);
}

/* 搜索模块 */
.search {
  position: absolute;
  top: 25px;
  left: 346px;
  width: 538px;
  height: 36px;
  border: 2px solid #b1191a;
  font-size: 16px;
}

.search input {
  float: left;
  width: 454px;
  height: 32px;
  padding-left: 10px;
}

.search button {
  float: left;
  width: 80px;
  height: 32px;
  background-color: #b1191a;
  color: #fff;
}

/* 头部区域热点词模块 */
.hotwords {
  position: absolute;
  top: 66px;
  left: 346px;
}
.hotwords a {
  margin: 0 12px;
}

/* 头部区域的我的购物车模块 */
.shopcar {
  position: absolute;
  top: 25px;
  right: 60px;
  width: 140px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border: 1px solid #dfdfdf;
  background-color: #f7f7f7;
}
.shopcar::before {
  content: '\e763';
  font-family: 'iconfont';
  margin-right: 5px;
  color: #b1191a;
  font-size: 18px;
}
.shopcar::after {
  content: '\e743';
  font-family: 'iconfont';
  margin-left: 10px;
  font-size: 18px;
}

/* 统计数量模块 */
.count {
  position: absolute;
  top: -5px;
  left: 105px;
  padding: 0 5px;
  height: 14px; /*这里可能遇到的问题是 写出来的数字不在背景范围内,因为行高会继承 设置line-height即可*/
  line-height: 14px;
  background-color: #b1191a;
  border-radius: 7px 7px 7px 0;
  color: #fff;
}

/* 导航部分 */
.nav {
  height: 47px;
  border-bottom: 2px solid #b1191a;
}
.nav .dropdown {
  float: left;
  width: 215px;
  height: 45px;
  background-color: #b1191a;
}
.nav .dropdown .dt {
  width: 100%;
  height: 100%;
  text-align: center;
  line-height: 45px;
  font-size: 16px;
  color: #fff;;
}
.nav .dropdown .dd {
  /* display: none; */
  width: 100%;
  height: 465px;
  margin-top: 2px;
  background-color: #c81623;
}

.dd ul li {
  position: relative;
  margin-left: 2px;
  padding-left: 10px;
  height: 31px;
  line-height: 31px;
}
.dd ul li:hover{
  background-color: #fff;
  color: #fff;
}
.dd ul li:hover a, .dd ul li:hover span {
  color:  #c81623;
}
.dd ul li a, .dd ul li span {
  font-size: 14px;
  color: #fff;
}
.dd ul li::after {
  position: absolute;
  right: 12px;
  content: '\e743';
  font-family: 'iconfont';
  font-size: 16px;
  color: #fff;
}


/* navitems区域 */
.nav .navitems {
  float: left;
}

.nav .navitems ul li {
  float: left;
}
.nav .navitems ul li a {
  display: block;
  width: 100%;
  height: 45px;
  line-height: 45px;
  font-size: 16px;
  padding: 0 25px;
}
.nav .navitems ul li a:hover {
  color: #c81623;
}

/* footer区域 */
.footer {
  height: 400px;
  padding-top: 30px;
  background-color: #f5f5f5;
}
.footer .mod_service {
  height: 80px;
  border-bottom: 1px solid #ccc;
}
.footer .mod_service ul li {
  float: left;
  width: 300px;
  height: 50px;
  padding-left: 35px;
  /* background-color: skyblue; */
}
.footer .mod_service ul li h5 {
  float: left;
  width: 50px;
  height: 50px;
  background: url(../images/icons.png) no-repeat -252px -3px;
}
.footer .mod_service ul li div {
  float: left;
  height: 100%;
  margin: 3px 15px;
  line-height: 23px;
}
.footer .mod_service ul li div h4 {
  font-size: 14px;
}
.footer .mod_service ul li div p {
  font-size: 12px;
}
.footer .mod_help {
  height: 185px;
  padding-top: 20px;
  padding-left: 50px;
  border-bottom: 1px solid #ccc;
}
.footer .mod_help dl {
  float: left;
  width: 200px;
}
.footer .mod_help dl dt {
  font-size: 16x;
  margin-bottom: 10px;
}
.footer .mod_help dd {
  font-size: 13px;
}
.footer .mod_help dl:last-child {
  width: 90px;
  text-align: center;
}

.footer .mod_copyright {
  padding-top: 20px;
  text-align: center;
}
.footer .mod_copyright .links ul {
  display: inline-block;
  margin: 0 auto;
}
.footer .mod_copyright .links ul li {
  float: left;
}
.footer .mod_copyright .links ul li:nth-child(even) {
  width: 2px;
  height: 13px;
  margin: 5px 10px;
  background-color: #ccc;
}
.footer .mod_copyright .links ul li a:hover {
  color: #c81623;
}
.footer .mod_copyright .copyright {
  font-size: 12px;
}
